package com.zsj.web.action.module.hello;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/hello")
public class HelloController {

	@RequestMapping(value = "/world")
	public String world(Model model) {
		System.out.println("hello world springmvc!");
		model.addAttribute("msg", "你好 spring mvc!");
		return "index";
	}
}